package fm.yichenet.service;

import fm.entity.Section;
import fm.entity.SectionPayResolve;
import fm.exception.BizException;

import java.util.List;

/**
 * Created by 宏炜 on 2017-05-30.
 */
public interface SectionService {
    Section getById(long id);

    SectionPayResolve getResolveById(Long id);

    List getAllSection(Integer status);

    List getSectionPageList(Integer pageSize, Integer pageNum);

    long countSection();

    void updateSection(Section section) throws BizException;

    void updatePayResolve(SectionPayResolve payResolve);


    void addSection(Section section) throws BizException;

    void addSectionPayResolve(SectionPayResolve payResolve);
}
